package com.aos.dto;




import net.sf.json.JSONObject;

import java.io.Serializable;
import java.util.List;

public class MessageDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 消息内容
     */
    private JSONObject message;

    /**
     * 用于消息批量推送
     */
    private List<JSONObject> messages;

    /**
     * 主题
     */
    private String topic;

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public JSONObject getMessage() {
        return message;
    }

    public void setMessage(JSONObject message) {
        this.message = message;
    }

    public List<JSONObject> getMessages() {
        return messages;
    }

    public void setMessages(List<JSONObject> messages) {
        this.messages = messages;
    }
}
